home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
tbbs
/
anstoprg.zip
/
ANSTOPRG.DOC
next >
Wrap
Text File
|
1996-02-28
|
5KB
|
104 lines
======================
.ANS to .PRG Converter
by Kirsch Graphix
======================
Written July 4, 1995
by Gregory G. Kirsch
(C)1995 by Kirsch Graphix
----------------------------------------------------------------------
HOW **FREE** No, you're not needing to go to the eye doctor, you
MUCH read correctly, this program is FREE for everyone to use and
DOES freely distribute. The only thing I ask in return for you
IT using this program, is to leave in the comment line that the
COST program adds to the output file identifying what converted the
ANSI file. That's not too much to ask for this FREE program
is it? Oh, and also if you could, send E-Mail via internet to
me to let me keep track of how much it is being used. In the
mail, please let me know where you obtained this and what you
think of it. Internet address: Kirsch.Graphix@OnRampBBS.com
WHAT ".ANS to .PRG Converter" is a simple way to add full ANSI
IT screens to your TDBS programs. The simplest way to add a ANSI
DOES screen to a TDBS program is to call a DOTBBS TYPE 1 OPTDATA
{file}. The problem with that is, there are more files you
must distribute with your program, and they can be easily alt-
ered because they are a regular ANSI file. This program con-
verts ANSI files over to TDBS source code that will be com-
piled into a TPG file, which means it's not able to be altered
(almost), and the ANSI display is included in the main TPG
file, not extra .ANS files. NOTE: This file works on NON-
animated files.
HOW It is suggested to place this file in the same directory as
TO TDBS.EXE (preferably in a directory on the PATH, so it can be
USE accessed from anywhere). Type ANSTOPRG and press enter. The
IT following is directions for my text grabber routines:
When you first get prompted for a string, if there is any de-
fault string, it will be erased when you press any key to type
in new string, EXCEPT for [BackSpace], which will delete the
last character and keep cursor there.
When entering a string, if you have altered the default con-
tent (if any), pressing [ESC] once brings back the default
string. Pressing [ESC] while the default string is showing
will exit you from the program.
When you first start the program, it is prompting you for the
name of the ANSI file to convert. Enter up to 8 characters
for a name. NOTE do not add the .ANS extension, it will be
added by the program automatically. The default string for
this prompt is blank.
The second prompt you receive will be for the output filename.
Again, do not include the .PRG extension, it will be added
automatically. The default string for this prompt is the same
as what you entered for the input filename.
The third prompt is for a header to be placed into the output
file. This is useful for identifying procedures that you
leave as a separate file. The default string is the name of
the original .ANS file and a comment naming this program as
the one that converted it. As stated above, I would apprec-
iate it if the name of this program is left in as a comment.
It is little to ask for a FREE program. But, you can change it
if needed.
The fourth prompt is for a footer to be placed at the end of
the output file. The default for this is "RETURN". Again,
this is handy for using this program to create independent
procedure files.
The program then converts the file over from .ANS to .PRG for-
mat. I included counters to show you how far along it is.
the second line, (# of lines) is how many lines have been
written to the .PRG file so far. This program makes each line
approximately 75 characters long for easier reading in a text
editor.
HOW The fastest response, is to call Dark Mansion BBS in Stow Ohio
TO at (330) 688-7090 {1200-14.4K} baud. Leave E-Mail to Greg
REACH Kirsch, Kirsch Graphix or SYSOP. Nearly full access is given
ME on first call to the system.
Internet Mail can currently reach me at:
kirsch.graphix@config.com
or greg@onrampbbs.com
Phone support and US Mail support is not yet available for my
new company, but hopefully will be available by summer '96.
I would be happy to hear any comments you have regarding this program.
-Greg Kirsch
>Updated February 28, 1996 - Modified BBS info & internet addresses<